package com.taojin.shoppinginterest.fragment;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.event.OnClick;
import com.taojin.shoppinginterest.R;
import com.taojin.shoppinginterest.activity.AttentionActivity;

/**
 * Created by T400 on 15-5-11.
 */
public class AttentionFragment extends Fragment {

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.activity_attentionfragment, null);
        ViewUtils.inject(this, view);
        return view;
    }

    @OnClick({R.id.btn_attentionFragment})
    public void btnClick(View v) {
        switch (v.getId()) {
            case R.id.btn_attentionFragment:
                Intent intent = new Intent(getActivity(),AttentionActivity.class);
                startActivity(intent);
                break;
            default:
                break;
        }
    }

}
